<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="span2">
    <div class="well sidebar-nav">
        <ul class="nav nav-list">
            <!-- Floors -->
            <li class="nav-header">Floors</li>
            <c:forEach items="${floorBean.floorList}" var="i">
                <li <c:if test="${floorBean.currentFloor == i.id}"> class="active"</c:if> >
                    <a href="<%=request.getContextPath()%>/floor/${i.id}">${i.name}</a></li>
            </c:forEach>
            <!-- People -->
            <li class="nav-header">Peope</li>
            <c:forEach items="${floorBean.personList}" var="i">
                <li <c:if test="${floorBean.currentPerson == i.id}">class="active"</c:if>>
                    <a id="person_list_${i.id}"
                        <c:if test="${floorBean.oneClickToPerson}">
                            href="<%=request.getContextPath()%>/person/${i.id}"
                        </c:if>
                        <c:if test="${!floorBean.oneClickToPerson}">
                            href="#"
                        </c:if>

                        >${i.firstName} ${i.lastName}</a></li>
            </c:forEach>

        </ul>
    </div>
</div>